mixin aside(vars)
  
  aside#sidebar
    .asidebg
    .asideMenu
      a.asideToggle(href='javascript:;')
        i.line
      .avatarBox
        .avatar
          img(src='/images/header_img.jpg')
        p.userName key done
      ul.menuList
        li
          svg.icon(aria-hidden="true")
            use(xlink:href="#icon-index")
          a(href="#", title="title")  首页
        li
          svg.icon(aria-hidden="true")
            use(xlink:href="#icon-mobile")
          router-link(to="/mobile") 移动开发
        li
          svg.icon(aria-hidden="true")
            use(xlink:href="#icon-project")
          a(href="/jslab", title="title") JS实验室
        if !vars
          li
            svg.icon(aria-hidden="true")
              use(xlink:href="#icon-login")
            a(href="/login", title="title") 登录
      .logstatus
        svg.icon(aria-hidden="true")
          use(xlink:href="#icon-logout")
        a.inblock.cfff(href='javascript:;') 退出登录
